<template>
  <div>
     
      <el-card>
        <div style="padding: 0; margin:0;" :model="formDate">
        <h3>{{ formDate.a_title}}</h3>
          
          <div @click="content">{{ formDate.a_content }}</div>
          <div class="footer">
            <div>创建时间 : </div>
            <div>{{ formDate.a_createat |moment }}</div>
                     
          </div> 
      </div>

      </el-card>
  </div>
  
</template>

<script>
export default {
    props:['formDate'],
    data(){
      return{
        adminName:localStorage.getItem('adminName'),
        adminLastLoginAt:localStorage.getItem('adminLastLoginAt')


      }
    },
    
    methods:{
      content(){
        this.$router.push("/article/"+this.formDate.id)
        
      }
    }
}
</script>

<style>
.footer{
  display: flex;
  
  
  justify-content: flex-end;

}
</style>

